package request

import (
	"gitcode.com/G-YT/baoyou/server/model/common/request"
	"time"
)

type ArticleSearch struct {
	CreatedAtRange []time.Time `json:"createdAtRange" form:"createdAtRange[]"`
	Author         *string     `json:"author" form:"author"`
	VIP            *bool       `json:"vip" form:"vip"`
	Type           *string     `json:"type" form:"type"`
	Title          *string     `json:"title" form:"title"`
	Status         *bool       `json:"status" form:"status"`
	Category       *string     `json:"category" form:"category"`
	Tags           *string     `json:"tags" form:"tags"`
	request.PageInfo
	Sort  string `json:"sort" form:"sort"`
	Order string `json:"order" form:"order"`
}
